#!/usr/bin/env python
# -*- coding:utf-8 -*-

menu={
	'1.电脑':{
		'1.台式机':['1.苹果','2.联想','3.戴尔'],
		'2.笔记本':['1.macbook','2.thinkpad','3.acer'],
		'3.平板电脑':['1.ipad','2.kingdle','3.surface']
	},
	'2.手机':{
		'1.ios':['1.ios7','2.ios8','3.ios9'],
		'2.android':['1.小米','2.华为','3.联想'],
		'3.winphone':['1.nokia','2.microsoft','3.xiaomi']
	},
	'3.家电':{
		'1.电视':['1.三星','2.LG','3.SONY'],
		'2.冰箱':['1.东芝','2.美的','3.海尔'],
		'3.洗衣机':['1.美的','2.松下','3.西门子']
	}
}

first_list=sorted(menu.keys())
for first in first_list:
	print first

input1=int(raw_input('你想看什么？请输入数字选择：'))
first_select=first_list[input1-1]

second_list=sorted(menu[first_select].keys())
for second in second_list:
	print '\t',second

input2=int(raw_input("请继续选择:"))
second_select=second_list[input2-1]
third_list=menu[first_select][second_select]
for third in third_list:
	print '\t\t',third